<template>
  <Poptip confirm transfer
          :title="title"
          :style="{alignSelf:'flex-start',margin:'5px'}"
          @on-ok="$emit('click')">
    <Button :type="type" size="small">{{text}}</Button>
  </Poptip>
</template>

<script>
export default {
  name: "part-button",
  props:{
    title:{
      default:()=>{
        return ''
      }
    },
    text:{
      default:()=>{
        return ''
      }
    },
    type:{
      default:()=>{
        return 'primary'
      }
    }
  }
}
</script>

<style scoped>

</style>